<h1><?php echo $info->name ?></h1>
<?php if (!$currentUser && !$isFollowing) : ?>
<button id="btnFollow" onclick="followUser(<?php echo $info->id ?>)">Follow</button>
<?php endif ?>
<br />
<div class="user_tabs">
	<?php if ($currentUser) : ?>
		<a href="<?php echo $BaseUrl ?>index.php/index/feedhome">Feeds</a>&nbsp;&nbsp;|&nbsp;&nbsp;
	<?php endif ?>
	<a class="active" href="<?php echo $BaseUrl ?>index.php/index/profile/<?php echo $info->id?>">Profile</a>&nbsp;&nbsp;|&nbsp;&nbsp;
	<a href="<?php echo $BaseUrl ?>index.php/index/followers/1/<?php echo $info->id?>">Followers</a>&nbsp;&nbsp;|&nbsp;&nbsp;
	<a href="<?php echo $BaseUrl ?>index.php/index/followings/1/<?php echo $info->id?>">Followings</a>&nbsp;&nbsp;|&nbsp;&nbsp;
	<a href="<?php echo $BaseUrl ?>index.php/index/feeds/<?php echo $info->id?>">
	<?php if (!$currentUser) : ?>
		<?php echo $info->name;?>
	<?php else: ?>
		Your
	<?php endif ?>
		
	 Feeds</a>
 </div>
 <div class="profile">
 	<div class="row"><img src="<?php echo $BaseUrl.$info->avatar?>" /></div>
 	<div class="row">Address:<?php echo $info->address; //id, name, address, gender, dob, avatar?></div>
 	<div class="row">Gender:<?php echo $info->gender; //id, name, address, gender, dob, avatar?></div>
 	<div class="row">DOB:<?php echo $info->dob; //id, name, address, gender, dob, avatar?></div>
 </div>
<script src="<?php echo $BaseUrl?>static/js/page/profile.js"></script>